package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface MemberMapper extends BaseMapper<Member> {
    @Select("select  id from t_member where PHONENUMBER = #{telephone}")
    Member findMemberByTelephone(@Param("telephone") String telephone);
}
